/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package amount;

import score.Score;

/**
 *
 * @author Daniel Gribel
 */
public class MidCharAmount extends Amount {

    public MidCharAmount(Score score, String name) {
        super(score, name);
    }
    
    @Override
    public void checkClauses(char character) {
        if(!Character.isLetter(character) && character != '_') {
            setCounter(getCounter() + 1);
        }
    }
    
}
